<template>
  <div class="app-container">
    <el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
    <el-tab-pane label="企业介绍" name="brief">
      <brief />
    </el-tab-pane>
    <el-tab-pane label="荣誉墙" name="honor">
      <honor />
    </el-tab-pane>
    <el-tab-pane label="特色产品" name="product">
      <product />
    </el-tab-pane>
    <el-tab-pane label="优秀团队" name="team">
      <team />
    </el-tab-pane>
    <el-tab-pane label="合作伙伴" name="partner">
      <partner />
    </el-tab-pane>
      <el-tab-pane label="背景图片" name="backgroundImage">
      <backgroundImage />
    </el-tab-pane>
    <el-tab-pane label="企业文化视频" name="culture">
      <culture />
    </el-tab-pane>
  </el-tabs>
  </div>
</template>

<script setup name="Post">
import brief from './brief.vue'
import honor from './honor.vue';
import product from './product.vue';
import team from './team.vue';
import partner from './partner.vue';
import backgroundImage from './backgroundImage.vue'
import culture from './culture.vue'
import { ref } from 'vue'


const activeName = ref('brief')

const handleClick = (tab, event) => {
  console.log(tab, event)
}

</script>
<style>
.demo-tabs > .el-tabs__content {
  padding: 32px;
  color: #6b778c;
  font-size: 32px;
  font-weight: 600;
}
</style>